package com.example.administrator.shuqiangjian.cn.hnevc.shuqiangjian;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ListView;

import com.example.administrator.shuqiangjian.R;

public class qiudui extends AppCompatActivity implements View.OnClickListener {
    private ListView mListView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_qiudui);
        findViewById(R.id.tv).setOnClickListener(this);
        mListView = (ListView) findViewById(R.id.iv);
        MyBaseAdapter myBaseAdapter= new MyBaseAdapter();
        mListView.setAdapter(myBaseAdapter);
    }

    @Override
    public void onClick(View v) {
        Intent intent = new Intent(qiudui.this,jifen.class);
        startActivityForResult(intent,1);
    }
    class MyBaseAdapter extends BaseAdapter{


        @Override
        public int getCount() {
            return 0;
        }

        @Override
        public Object getItem(int position) {
            return null;
        }

        @Override
        public long getItemId(int position) {
            return 0;
        }

        @Override
        public View getView(int position, View convertView, ViewGroup parent) {
            return null;
        }
    }
}
